package com.ukee.birthday.modules.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ukee.birthday.modules.dao.WxUserDao;
import com.ukee.birthday.modules.entity.StaffEntity;
import com.ukee.birthday.modules.service.WxUserService;
import org.springframework.stereotype.Service;

@Service("WxUserService")
public class WxUserServiceImpl extends ServiceImpl<WxUserDao, StaffEntity> implements WxUserService {


    @Override
    public StaffEntity queryByUserName(String username,String idNumber) {
        return baseMapper.queryByUserName(username,idNumber);
    }

    @Override
    public StaffEntity queryByNameNumber(String username, String number) {
        return baseMapper.queryByNameNumber(username,number);
    }

    @Override
    public StaffEntity queryByIdNumber(String idNumber) {
        return baseMapper.queryByIdNumber(idNumber);
    }
}
